let { Schema, model } = require('mongoose');
let salespersonsSchema = new Schema({
    salesName: String,
    salesAccount: String,
    salesPassword: String,
    salesPhone: String,
    status: {
        type: String,
        default: 'on'
    }
}, { versionKey: false });
module.exports.salespersonsModel = model('salespersonsModel', salespersonsSchema, 'salespersons');
